﻿@using StuSherwin.Domain.Entities

@model StuSherwin.Mvc.Models.Admin.Delete

@{
    ViewBag.Title = "Delete post";
    Layout = "~/Views/Admin/_Layout.cshtml";
}
@Html.ActionLink("Posts", "Index")
<h2>@Model.Title</h2>
<p>Are you sure you want to delete this post?</p>
@using (Html.BeginForm())
{
    @Html.HiddenFor(m => m.Id)
    <input type="submit" value="Delete" class="button" />
}